package homeWorkk;

public class Studentt {
    private String name;
    private int age;
    private double height;
    private boolean marry;
    private char nannv;

    public Studentt() {
    }

    public Studentt(String name, int age, double height, boolean marry, char nannv) {
        this.name = name;
        this.age = age;
        this.height = height;
        this.marry = marry;
        this.nannv = nannv;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public boolean isMarry() {
        return marry;
    }

    public void setMarry(boolean marry) {
        this.marry = marry;
    }

    public char getNannv() {
        return nannv;
    }

    public void setNannv(char nannv) {
        this.nannv = nannv;
    }

    @Override
    public String toString() {
        return "Studentt{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", height=" + height +
                ", marry=" + marry +
                ", nannv=" + nannv +
                '}';
    }
}
